<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('简历详情')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <div class="row">
        <div class="col-sm-4 pr5">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <div class="text-center">
                        <p class="user-info-head" onclick="avatar()"><img class="img-circle img-lg" th:src="(${#strings.isEmpty(user.avatar)}) ? @{/img/profile.jpg} : @{${user.avatar}}" th:onerror="'this.src=\'' + @{'/img/profile.jpg'} + '\''"></p>
                    </div>
                    <ul class="list-group list-group-striped">
                        <li class="list-group-item"><i class="fa fa-user"></i>
                            <b class="font-noraml">姓名：</b>
                            <p class="pull-right">[[${resume.resumeName}]]</p>
                        </li>
                        <li class="list-group-item"><i class="fa fa-sex"></i>
                            <b  class="font-noraml">性别：</b>
                            <p id="sex" class="pull-right">[[${resume.resumeSex}]]</p>
                        </li>
                        <li class="list-group-item"><i class="fa fa-calendar"></i>
                            <b  class="font-noraml">学历：</b>
                            <p id="degree" class="pull-right">[[${resume.resumeDegree}]]</p>
                        </li>
                        <li class="list-group-item"><i class="fa fa-group"></i>
                            <b  class="font-noraml">家庭住址：</b>
                            <p class="pull-right">[[${resume.resumeAddress}]]</p>
                        </li>
                        <li class="list-group-item"><i class="fa fa-phone"></i>
                            <b  class="font-noraml">联系方式：</b>
                            <p class="pull-right">[[${resume.resumePhone}]]</p>
                        </li>
                        <li class="list-group-item"><i class="fa fa-envelope-o"></i>
                            <b  class="font-noraml">邮箱：</b>
                            <p class="pull-right">[[${resume.resumeEmail}]]</p>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="col-sm-8 about">
            <div class="ibox float-e-margins">
                <div class="ibox-title ibox-title-gray dashboard-header">
                    <h5>基本资料</h5>
                </div>
                <div class="ibox-content">
                    <div class="nav-tabs-custom">
                        <div class="tab-content">
                            <div class="tab-pane active" id="user_info" th:object="${resume}">
                                <form class="form-horizontal" id="form-user-edit">
                                    <!--隐藏ID-->
                                    <input name="resumeId"  type="hidden"  th:field="*{resumeId}" />
                                    <div class="form-group">
                                        <b class="col-sm-3">毕业学校：</b>
                                        <div class="col-sm-9">
                                            <p class="col-sm-9">[[${resume.resumeSchool}]]</p>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <b class="col-sm-3">教育经历：</b>
                                        <div class="col-sm-9">
                                            <p class="col-sm-9">[[${resume.educationExperience}]]</p>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <b class="col-sm-3">求职意向：</b>
                                        <div class="col-sm-9">
                                            <p class="col-sm-9">[[${resume.resumeIntent}]]</p>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <b class="col-sm-3">工作经历：</b>
                                        <div class="col-sm-9">
                                            <p class="col-sm-9">[[${resume.workExperience}]]</p>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <b class="col-sm-3">项目经历：</b>
                                        <div class="col-sm-9">
                                            <p class="col-sm-9">[[${resume.projectExperience}]]</p>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <b class="col-sm-3">个人优势：</b>
                                        <div class="col-sm-9">
                                            <p class="col-sm-9">[[${resume.resumeAdvantage}]]</p>
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <b class="col-sm-3">技能特长：</b>
                                        <div class="col-sm-9">
                                            <p class="col-sm-9">[[${resume.skillSpecialty}]]</p>
                                        </div>
                                    </div>
                                </form>
                           </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
$(function () {
    if ($("#sex").text()=='0') {
        $("#sex").text("男");
    } else if ($("#sex").text()=='1') {
        $("#sex").text("女");
    } else if ($("#sex").text()=='2') {
        $("#sex").text("未知");
    }
    if ($("#degree").text()=='0') {
        $("#degree").text("小学");
    } else if ($("#degree").text()=='1') {
        $("#degree").text("初中");
    } else if ($("#degree").text()=='2') {
        $("#degree").text("高中");
    } else if ($("#degree").text()=='3') {
        $("#degree").text("高职高专");
    } else if ($("#degree").text()=='4') {
        $("#degree").text("本科");
    } else if ($("#degree").text()=='5') {
        $("#degree").text("研究生");
    } else if ($("#degree").text()=='6') {
        $("#degree").text("博士生");
    }
})
</script>
</body>
</html>
